package com.javasm.exercise;

import java.awt.color.CMMException;

/**
 * @classname:StudentTest
 * @description:
 * @author: Mr.Z
 * @date: 2020/11/26 21:43
 * @version: 0.1
 * @since:1.8
 */
public class StudentTest {
    public static void main(String[] args) {
        Student stu = new Student();
        stu.setName("李逵");
        stu.setStuNo(1);
        stu.setGender("男");
        stu.study();
        stu.eat();
        Computer com= new Computer();
        com.setCpu(4);
        com.setMemory("5T");
        stu.setComputer(com);
        stu.play();



    }

}
